<?php
if(!headers_sent()){
    session_start();
}